sleep 25 
while true
do
    $IPMI raw 6 1 > /dev/null 2>&1
    if [ $? -eq 0 ]; then
        sleep 0.5
        break
    fi
done
$IPMI raw 0x30 0xbf 0 
sleep 1
while true
do
    $IPMI raw 6 1 > /dev/null 2>&1
    if [ $? -eq 0 ]; then
        sleep 0.5
        break
    fi
done
$IPMI raw 0x30 0xbf 0 

